// 查询座楼仓数据
function listDto() {
    return request({
        url: '/balcony/listDto',
        method: 'get'
    })
}

// 查询商品
function listCommodity(query) {
    return request({
        url: '/commodity/commodity/list',
        method: 'get',
        params: query
    })
}

// 查询商品类型列表
function listCommodityType(query) {
    return request({
        url: '/commodity/commodityType/list',
        method: 'get',
        params: query
    })
}

// 查询商品签收列表
function listGroup(params) {
    return request({
        url: '/commodity/commoditySign/listGroup',
        method: 'get',
        params
    })
}

// 根據商品ID查询商品签收列表
function listGroupByAcId(params) {
    return request({
        url: '/commodity/commoditySign/listGroupByAcId',
        method: 'get',
        params
    })
}

// 查询自助購物訂單模板列表
function listMainTemplate(query) {
    return request({
        url: '/commodity/commodityOrderMain/listMainTemplate',
        method: 'get',
        params: query
    })
}

// 查询商品签收模板列表
function listCommoditySignTemplate(query) {
    return request({
        url: '/commodity/commoditySign/listCommoditySignTemplate',
        method: 'get',
        params: query
    })
}

// 簽收
function sign(data) {
    return request({
        url: '/commodity/commoditySign/sign',
        method: 'post',
        data
    })
}

function signAll(data) {
    return request({
        url: '/commodity/commoditySign/signAll',
        method: 'post',
        data
    })
}

function updateSignCount(data) {
    return request({
        url: '/commodity/commoditySign/updateSignCount',
        method: 'post',
        data
    })
}